<style>
.layui-form-pane .layui-form-label {
	display: flex;
	align-items: center;
	justify-content: center;
}

.text-adaption {
/* 	width: 650px;
	max-width: 650px; */
	height: 34px;
	 /* overflow: hidden; */ 
	padding: 5px 10px;
	resize: none;
	line-height: 24px;
	font-size: 12px;
	color: #666;
	border: 1px solid #ccc;
	outline: 0 none;
	border-radius: 3px;
	box-sizing: border-box;
	
	overflow:auto;
	word-break:break-all;
}
</style>
<div class="form-compile">
	<div class="model" style="display: none">${model}</div>
	<form class="layui-form" lay-filter="edit-form">
		<input type="hidden" name="id" />
		<div class="layui-form-item">
			<div class="layui-inline">
				<label class="layui-form-label">用户编码</label>
				<div class="layui-input-inline">
					<input name="operUserCode" disabled class="layui-input">
				</div>
			</div>
		</div>
		<div class="layui-form-item">
			<div class="layui-inline">
				<label class="layui-form-label">IP</label>
				<div class="layui-input-inline">
					<input name="operIp" disabled class="layui-input">
				</div>
			</div>
		</div>
		<div class="layui-form-item">
			<div class="layui-inline">
				<label class="layui-form-label">操作模块</label>
				<div class="layui-input-inline">
					<input name="operModul" disabled class="layui-input">
				</div>
			</div>
		</div>
		<div class="layui-form-item">
			<div class="layui-inline">
				<label class="layui-form-label">操作类型</label>
				<div class="layui-input-inline">
					<input name="operType" disabled class="layui-input">
				</div>
			</div>
		</div>
		<div class="layui-form-item layui-form-text">
			<div class="layui-inline">
				<label class="layui-form-label">URI</label>
				<div class="layui-input-inline">
					<textarea disabled class="layui-textarea text-adaption" name="operUri"
					style="width:600px;max-width: 600px;"></textarea>
				</div>
			</div>
		</div>
		<div class="layui-form-item layui-form-text">
			<div class="layui-inline">
				<label class="layui-form-label">操作方法</label>
				<div class="layui-input-inline">
					<textarea disabled class="layui-textarea text-adaption" name="operMethod"
					style="width:600px;max-width: 600px;"	></textarea>
				</div>
			</div>
		</div>
		<div class="layui-form-item layui-form-text">
			<div class="layui-inline">
				<label class="layui-form-label">请求参数</label>
				<div class="layui-input-inline">
					<textarea disabled class="layui-textarea text-adaption" name="operReqParam"
					style="width:600px;max-width: 600px;"	></textarea>
				</div>
			</div>
		</div>
		<div class="layui-form-item layui-form-text">
			<div class="layui-inline">
				<label class="layui-form-label">返回参数</label>
				<div class="layui-input-inline">
					<textarea disabled class="layui-textarea text-adaption" name="operResParam"
					style="width:600px;max-width: 600px;"	></textarea>
				</div>
			</div>
		</div>
		<div class="layui-form-item">
			<div class="layui-inline">
				<label class="layui-form-label">操作时间</label>
				<div class="layui-input-inline">
					<input name="operTime" disabled class="layui-input"
						>
				</div>
			</div>
		</div>
		<div class="layui-form-item">
			<div class="layui-inline">
				<label class="layui-form-label">返回状态</label>
				<div class="layui-input-inline">
					<input name="operStatus" disabled class="layui-input">
				</div>
			</div>
		</div>
		<div class="layui-form-item layui-form-text">
			<div class="layui-inline">
				<label class="layui-form-label">异常消息</label>
				<div class="layui-input-inline">
					<textarea disabled class="layui-textarea text-adaption"
					style="width:600px;max-width: 600px;"	name="errorMsg" ></textarea>
				</div>
			</div>
		</div>

		<div class="layui-form-item form-finally">
			<button type="button" class="layui-btn" onclick="closePopup()">关闭</button>
		</div>
	</form>
</div>
<script>
	initFormData();

	var obj = document.getElementsByClassName("text-adaption");
	var len = obj.length;
	for (var i = 0; i < len; i++) {
		obj[i].style.height = 'auto';
		obj[i].style.height = obj[i].scrollHeight + "px";
	}
</script>